home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '90 / MacHack'90 Proceedings / John Norstad / Reusable Code / Source / vmsg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-10  |  1.5 KB  |  41 lines  |  [TEXT/MPS ]

  1. /*______________________________________________________________________
  2.  
  3.     vmsg.h - Virus Message Module Interface.
  4.     
  5.     Copyright © 1988, 1989, 1990 Northwestern University.  Permission is 
  6.     granted to use this code in your own projects, provided you give credit 
  7.     to both John Norstad and Northwestern University in your about box or 
  8.     document.
  9. _____________________________________________________________________*/
  10.  
  11.  
  12. #ifndef __vmsg__
  13. #define __vmsg__
  14.  
  15. #ifndef __scn__
  16. #include "scn.h"
  17. #endif
  18.  
  19. extern short vmsg_LookupTag (short repLine);
  20. extern void vmsg_ClearTags (void);
  21. extern void vmsg_M0 (short strInd);
  22. extern void vmsg_M1 (short strInd, Str255 p0);
  23. extern void vmsg_M2 (short strInd, Str255 p0, Str255 p1);
  24. extern void vmsg_M2_Tag (short strInd, Str255 p0, Str255 p1, short tag);
  25. extern void vmsg_Continue (short strInd, short msgNum);
  26. extern void vmsg_Blank (void);
  27. extern void vmsg_MInf (Str255 vName, short tag);
  28. extern void vmsg_Unexpected (OSErr rCode);
  29. extern void vmsg_PrintFileName (scn_FListElHandle folderList, 
  30.     CInfoPBRec *pBlock, short tag);
  31. extern void vmsg_CheckAccess (char accessRights, 
  32.     scn_FListElHandle folderList, CInfoPBRec *pBlock);
  33. extern void vmsg_Begin (Boolean disinfect, long dirID, Str255 fName, 
  34.     short fVRefNum, short volRefNum, short counterTop, short counterRight);
  35. extern void vmsg_End (Boolean disinfect, 
  36.     Boolean canceled, Boolean *infected, Boolean *sysInfected);
  37. extern void vmsg_BumpCounter (short counter);
  38. extern void vmsg_ClearCounters (short counterTop, short counterRight);
  39.  
  40.  
  41. #endif